package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyMdFuzhumxz;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdFuzhumxzParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdFuzhumxzResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 网上建店信息gcg_wsjd 服务类
 * </p>
 *
 * @author jiangge
 * @since 2021-09-08
 */
public interface BtyMdFuzhumxzService extends IService<BtyMdFuzhumxz> {

    /**
     * 新增
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    void add(BtyMdFuzhumxzParam param);

    /**
     * 删除
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    void delete(BtyMdFuzhumxzParam param);

    /**
     * 更新
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    void update(BtyMdFuzhumxzParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    BtyMdFuzhumxzResult findBySpec(BtyMdFuzhumxzParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    List<BtyMdFuzhumxzResult> findListBySpec(BtyMdFuzhumxzParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author jiangge
     * @Date 2021-09-08
     */
    LayuiPageInfo findPageBySpec(BtyMdFuzhumxzParam param);

    ResponseData importFzmxz(MultipartFile file) throws Exception;

    List<BtyMdFuzhumxzResult> findAllFzmxzData(BtyMdFuzhumxzParam param);
}
